home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #2 / Monster Media No. 2 (Monster Media)(1994).ISO / unix / lnxf1c.zip / SLAKWARE.FAQ < prev    next >
Text File  |  1994-05-05  |  9KB  |  220 lines

  1. Slackware FAQ, last revised:  Sat Mar 19 22:43:05 PST 1994
  2.  
  3. These are questions people ask me quite often. Hopefully now that they're
  4. answered here that won't be the case. :^)
  5.  
  6. -----
  7.  
  8. Q: Why do I get "network unreachable" under Slackware?
  9.  
  10. A: There are a couple of possibilities. For most users, things work right out
  11.    of the box. However, if you're running into this problem here are two
  12.    workarounds you can try:
  13.  
  14.    1. Reverse the broadcast and netmask arguments (and their variables)
  15.       in the call to ifconfig in /etc/rc.d/rc.inet1. Make sure you are
  16.       not trying to route your own IP address - you shouldn't have to.
  17.  
  18.    2. Make sure /etc/networks is properly configured.
  19.  
  20.    [note for 1.1.1: There is a new script called 'netconfig' that should 
  21.    help with the configuration process. You may have to do some light
  22.    editing of the files to get it going, but it will at least get you close.
  23.    This feature is still in development, and suggestions of other files that
  24.    should be set up (and how!) would be appreciated. ]
  25.  
  26.    These suggestions should fix even the most stubborn systems. 
  27.  
  28. -----
  29.  
  30. Q: Why the $%#@! isn't my UltraStor SCSI detected? It works under DOS!
  31.  
  32. A: Set the I/O address to 0x340 instead to 0x330.
  33.  
  34.    For any hardware that doesn't work, a good rule is to try playing around
  35.    with the IRQ and I/O settings on it to see what happens. If your system
  36.    is up and running and you're having problems with a CD-ROM or tape or
  37.    something like this, you can always look around for the driver source in
  38.    /usr/src/linux/drivers... really, it won't bite!  Often, the source 
  39.    contains important documentation, such as the default IRQ settings for
  40.    that type of device, and the major number for the entry in /dev. 
  41.  
  42. -----
  43.  
  44. Q: How can I install and remove software now that the Slackware Linux 
  45.    distribution is installed on my machine?
  46.  
  47. A: To remove packages, type "pkgtool" and follow the prompts. Pkgtool will
  48.    also allow you to add packages that are in the current directory.
  49.  
  50.    The preferred way to install software is with the "setup" script.
  51.    When you do your initial installation, setup puts a copy of itself in your 
  52.    /sbin for future use. You can also add software to your machine using the 
  53.    boot/install disk, if you really want to. 
  54.  
  55.    When adding software to a running system via NFS, it is preferable to
  56.    mount the partition yourself and then use the 'install from a mounted
  57.    directory' feature of setup.
  58.  
  59. -----
  60.  
  61. Q: I set my partitions to "Linux native" but Slackware still won't detect
  62.    them! What can I do?
  63.  
  64. A: This problem is rare and I still don't know what causes it. You're welcome
  65.    to send in any affected machines if you want me to get to the bottom of the
  66.    problem.
  67.  
  68.    [ Note that this is not the same problem that usually affects the IBM PS/1,
  69.    Thinkpad, and similar machines that do not detect the harddrive. If you've
  70.    got one of these machines, and fdisk is giving you problems, your answer is
  71.    still ahead :^) ]
  72.  
  73.    Here's a workaround you can use to install anyway:
  74.  
  75.    1. Start tty12 or tty144 using one of the bootkernel disks.
  76.    2. Make and format partitions for Linux.
  77.    3. Mount the target partitions under /mnt.
  78.    4. Type "setup -target_mounted"
  79.    5. Follow the rest of the instructions to install.
  80.    6. Type "vi /mnt/etc/fstab" and enter an appropriate fstab.
  81.       As an example, here's what mine contains:
  82.  
  83. /dev/hdb2   swap    swap   defaults 
  84. /dev/hda2   /       ext2   defaults
  85. /dev/hda3   /usr    xiafs  defaults 
  86. /dev/hda1   /dos    msdos  defaults 
  87. /dev/hdb1   /os2    msdos  defaults 
  88. none        /proc   proc   defaults
  89.  
  90.    To give you some more info about this file, the first field is the
  91.    partition to be mounted, the second is where it should be mounted, the
  92.    third is the filesystem type, and the last field is the options to use.
  93.    Unless you're a Linux wizard, just set this to "defaults".
  94.  
  95.    Other things to remember about this file:
  96.       - Make sure that you list the root partition before any other partitions
  97.         that are mounted beneath it.
  98.       - Add the /proc line, or "ps", "w", etc, won't work.
  99.       - It's a good idea to put a blank line at the end of the file, as I've
  100.         had reports that partitions listed on the last line might not be 
  101.         mounted.
  102.  
  103.    7. Once you've made and saved this file you can reboot with ctrl-alt-delete.
  104.  
  105. -----
  106.  
  107. Q: I have a (PS/1 || Valuepoint || Thinkpad), and can't install because fdisk
  108.    can't see my hard drive. How can I get around this?
  109.  
  110. A: You'll need to enter your drive parameters at the bootkernel prompt. You
  111.    can even specify the geometry for your second IDE drive by supplying a
  112.    second  hd= parameter right after the first one. 
  113.  
  114.    When you boot the bootkernel disk, you'll see more information about the
  115.    format used to pass your drive parameters to the kernel at the LILO prompt
  116.    and allow your drive to be recognized.
  117.    do this, you should be able to install.
  118.  
  119.    I don't know if it's possible to make the hard drive self boot. It would 
  120.    probably require compiling in your drive parameters, at the very least.
  121.    Also, this is important - LILO will not be able to probe for your drive 
  122.    successfully if you try to install it on your hard drive. Install LILO to
  123.    a floppy disk, and then use this disk whenever you boot Linux. Make sure you
  124.    add a 'prompt' flag to your /etc/lilo.conf so you can enter your drive
  125.    geometry.
  126.    
  127.    If anyone out there knows exactly where to compile in the parameters in the
  128.    kernel to see the drive automatically, let me know and I'll include the
  129.    information here. Also, if a list of the parameters for all the different
  130.    sized IBM drives could be collected, custom kernels might be provided. :^)
  131.  
  132. -----
  133.  
  134. Q: Emacs dumps core, complains of a missing library, or lacks X11 support! Why?
  135.  
  136. A: As of Slackware 1.1.1, the included GNU Emacs series has supported your 
  137.    choice of a version with X11 support, or one without. Make sure you have the
  138.    right binary for your machine. 
  139.  
  140.    The binary supporting X11 is installed as part of a package on the first 
  141.    disk that you'll need to install whether you want X11 support or not. If
  142.    you DO NOT want X11 support, install the package 'emac_nox.tgz' on the last
  143.    disk of the Emacs series.
  144.  
  145.    If you just install all of the disks, you don't get X11 support. It had to
  146.    be one way or the other, so if you're not paying attention when you install
  147.    at least this way it will run no matter what.
  148.  
  149. -----
  150.  
  151. Q: How can I change (or get rid of) the color ls?
  152.  
  153. A: Read the man page, and check out the file /etc/DIR_COLORS. You can
  154.    configure the colors any way you like, or shut them off entirely. Also, you
  155.    can copy /etc/DIR_COLORS into your home directory as '.dir_colors' to 
  156.    override the global defaults on a user by user basis.
  157.  
  158. -----
  159.  
  160. Q: I start X with "openwin" and it works OK, but I can't switch virtual
  161.    consoles. Why?
  162.  
  163. A: On a Linux text screen, you switch virtual consoles with Alt-F1 through 
  164.    Alt-F8. Under XFree-86, you must use Ctrl-Alt-F1 through Ctrl-Alt-F8. 
  165.  
  166. -----
  167.  
  168. Q: Why can't I use the new ghostscript with X?
  169.  
  170. A: Make sure you have gs_x11.tgz from disk XAP1 installed.
  171.  
  172. -----
  173.  
  174. Q: I can't get anything to work at all! What's the deal?
  175.  
  176. A: If you seem to suffer catastrophic failure (!), then check the file FILE_LIST
  177.    on ftp.cdrom.com in /pub/linux/slackware against the contents of your disks
  178.    and make sure you're not missing any files. 
  179.  
  180.    Also, I've noticed that most of the reports of kernel panics and system 
  181.    hangs have come from people with 4MB. If you're running into these types
  182.    of problems I'd suggest forking over the $$$ for 4 more meg. I have 8 MB of
  183.    RAM and never have crashes. (well, only when I really push my luck)
  184.    If you don't want to do that, then go through your /etc/rc.d/rc.* files and
  185.    get rid of any daemons you don't use, like crond, lpd, or selection.
  186.  
  187.    If you've got 4 MB and you're getting 'virtual memory exceeded in new'
  188.    warnings, make sure you set up and activate a swap partition before running
  189.    setup. If you're really hard up on memory, you can boot a rootdisk using
  190.    'editroot' instead of one of the usual boot kernels. This will mount the 
  191.    floppy in the root drive, and you'll have to install from the other drive
  192.    or from the hard drive. You will also not be able to create any kind of boot
  193.    disk, so you'll have to install LILO and take your chances. I only suggest
  194.    using this approach if a swapfile will not work.
  195.  
  196. -----
  197.  
  198. Q: I get "bad directory components" when I use "mput *" in ftp. How can this
  199.    be fixed?
  200.  
  201. A: A workaround for this problem is to use "mput ./*" instead. Hopefully this
  202.    bug will be fixed in the next versions of the networking programs.
  203.  
  204.    [Note for 1.1.1: It should be! Also, the fix is on ftp.cdrom.com, as 
  205.    /pub/linux/slackware_source/n/tcpip/FTP_PATCH ]
  206.  
  207. -----
  208.  
  209. Also - at ftp.gwdg.de:/pub/linux/install-mount/slack-info are some more
  210. networking hints.
  211.  
  212. In addition, the LDP people have put out an excellant set of manuals that I
  213. may include in a future Slackware release. These are available on
  214. sunsite.unc.edu in /pub/Linux/docs/LDP.
  215.  
  216. ---
  217. Patrick Volkerding
  218. volkerdi@mhd1.moorhead.msus.edu
  219. volkerdi@ftp.cdrom.com
  220.